<?php

/**
 * Acao form.
 *
 * @package    form
 * @subpackage Acao
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 6174 2007-11-27 06:22:40Z fabien $
 */
class VincularForm extends sfForm
{
  public function configure()
  {
    $this->setWidgets(array(
      'cd_usuario'    => new sfWidgetFormDoctrineChoice(array('model' => 'Usuario', 'add_empty' => true)),
      'cd_orgao_externo' => new sfWidgetFormDoctrineChoice(array('model' => 'OrgaoExterno', 'add_empty' => true)),
      //'email'   => new sfWidgetFormInput(),
      //'senha'   => new sfWidgetFormInputPassword(),
    ));

    $this->widgetSchema->setNameFormat('vincula[%s]');

  }
  
}